<?php
/**
* focus1imagecontroller.php
*
* Create on 2015-12-23
* Create by TT
*/
namespace haibao\cms\business\control\app;
use \haibao\cms\business\control\PublishController;

class Focus1ImageController extends \haibao\cms\business\control\Base{
	public function __construct($updateTime = null,$controlId,$isPublish){
		parent::__construct($updateTime,$controlId,$isPublish);
	}

	/**
	 * 显示模版内容（模版动态数据的绑定和模版输出）
	 * @param : String $content
	 * @param : Array $controlData;
	 */
	public function displayTemplateHtml(){
		$controlData = $this->getParameter(self::$CONTROL_DATA);
		$content = $this->getParameter(self::$CONTROL_CONTENT);
		$path = $this->generateHtmlPath(__CLASS__);
		$parameters = $this->getControlParameters($controlData);
		$this->assign('parameters', $parameters);
		$this->generateHtml($path,$content);
		return $this->getHtml($path);
	}
}